﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using Vit.Web.Mvc.DataAnnotations;

namespace Vit.DynamicFormModule.Areas.Form.Models
{
    public class FormInput
    {
        [Key]
        [StringLength(50)]
        [Required]
        public string InputID { get; set; }
        [StringLength(50)]
        [Required]
        public string FormName { get; set; }
        [StringLength(50)]
        public string UserName { get; set; }
        public DateTime InputTime { get; set; }
        [StringLength(50)]
        public string IP { get; set; }

        public virtual DynamicForm Form { get; set; }
    }
}